home *** CD-ROM | disk | FTP | other *** search
- -- card: 2947 from stack: in
- -- bmap block id: 8833
- -- flags: 0000
- -- background id: 2705
- -- name:
-
-
- -- part 1 (field)
- -- low flags: 01
- -- high flags: 2007
- -- rect: left=249 top=27 right=281 bottom=423
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: index
- ----- HyperTalk script -----
- on mouseUp
- get item 2 of the clickLoc
- subtract item 2 of the rect of the target from it
- add the scroll of the target to it
- subtract 5 from it -- Correct for wide margins
- divide it by the textHeight of the target
- get trunc(it)+1
- get line it of value(the target)
- if it is not empty then
- push card
- set lockScreen to true
- go to next card
- find it in field "command"
- if it is not in field "command" then pop card
- else
- get the id of this card
- pop card
- push card
- set lockScreen to false
- visual effect zoom open
- go to it
- end if
- end if
- end mouseUp
-
-
-
- -- part 2 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=290 top=285 right=307 bottom=399
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Update Index
- ----- HyperTalk script -----
- on mouseUp
- put empty into card field "index"
- repeat with i = 2 to the number of cards
- get word 1 of field "command" of card i
- if "(" is in it then delete char offset("(",it) to length(it) of it
- put it & return after card field "index"
- end repeat
- end mouseUp
-
-
-
- -- part 3 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=274 top=315 right=337 bottom=416
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Sort Cards by Name
- ----- HyperTalk script -----
- on mouseUp
- sort by field "command"
- end mouseUp
-
-
-
- -- part 4 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=20 top=289 right=323 bottom=56
- -- title width / last selected line: 0
- -- icon id / first selected line: 32670 / 32670
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
- ----- HyperTalk script -----
- on mouseUp
- show all cards
- end mouseUp
-
-
-
- -- part 5 (field)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=35 top=104 right=172 bottom=183
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 2
- -- text size: 12
- -- style flags: 256
- -- line height: 16
- -- part name:
-
-
- -- part 6 (field)
- -- low flags: 01
- -- high flags: 0000
- -- rect: left=42 top=185 right=218 bottom=179
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 2
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part 7 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=20 top=248 right=282 bottom=56
- -- title width / last selected line: 0
- -- icon id / first selected line: 902 / 902
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
- ----- HyperTalk script -----
- on mouseUp
- visual effect wipe right
- go to previous card
- end mouseUp
-
-
-
- -- part 8 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=58 top=248 right=282 bottom=94
- -- title width / last selected line: 0
- -- icon id / first selected line: 26425 / 26425
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
- ----- HyperTalk script -----
- on mouseUp
- visual effect wipe left
- go to next card
- end mouseUp
-
-
-
- -- part 10 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=58 top=289 right=323 bottom=94
- -- title width / last selected line: 0
- -- icon id / first selected line: 29114 / 29114
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
- ----- HyperTalk script -----
- on mouseUp
- visual effect zoom close
- pop card
- end mouseUp
-
-
-
- -- part 11 (button)
- -- low flags: 00
- -- high flags: 0001
- -- rect: left=47 top=185 right=219 bottom=171
- -- title width / last selected line: 0
- -- icon id / first selected line: 8538 / 8538
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
- ----- HyperTalk script -----
- on mouseDown
- hide the target
- wait until the mouse is up
- wait 1 seconds
- show the target
- end mouseDown
-
-
-
- -- part 12 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=22 top=36 right=58 bottom=131
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Click me first
- ----- HyperTalk script -----
- on mouseUp
- show card field "release notes"
- show button "OK"
- end mouseUp
-
-
-
- -- part 13 (field)
- -- low flags: 80
- -- high flags: 2004
- -- rect: left=54 top=50 right=285 bottom=487
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 2
- -- text size: 10
- -- style flags: 0
- -- line height: 13
- -- part name: release notes
-
-
- -- part 14 (button)
- -- low flags: 80
- -- high flags: A003
- -- rect: left=406 top=250 right=272 bottom=456
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: OK
- ----- HyperTalk script -----
- on mouseUp
- hide button "OK"
- hide card field "release notes"
- end mouseUp
-
-
-
- -- part contents for card part 5
- ----- text -----
- HyperCard
- TCP Toolkit Documentation
-
- -- part contents for card part 6
- ----- text -----
- by
- Harry Chesley
-
- -- part contents for card part 13
- ----- text -----
- 1.0 Release Notes:
-
- Welcome to the HyperCard TCP Port Toolkit.
-
- The best place to start is by clicking on the TCPOverview line in the command/topic list on the right side of the screen.
-
- Remember to call TCPRelease for every connection you make. This is absolutely imperative!
-
-
- -- part contents for card part 1
- ----- text -----
- alphaSort
- orderMessages
- rot13
- splitByWord
- TCPActiveOpen
- TCPCharsAvailable
- TCPClose
- TCPNameToAddr
- TCPOverview
- TCPPassiveOpen
- TCPRecvChars
- TCPRecvMsg
- TCPRecvUpTo
- TCPRelease
- TCPSend
- TCPState
- TCPVersion
-